<HTML><HEAD><TITLE>MiniComLine</TITLE></HEAD>
<BODY>
<!#CLASSDEF
MiniComLine Reactor
#ENDCLASSDEF>
<H1>MiniComLine</H1>

<P>This class defines a tiny python command line reactor, which can be useful
for controlling a server.  
<H2>Base Classes</H2>
<UL>
<LI>Reactor
</UL>
<H2>Methods</H2>
<UL>
<LI><A HREF="#__execLine(self,_line)">__execLine(self, line)</A>
<LI><A HREF="#__execThread(self)">__execThread(self)</A>
<LI><A HREF="#__init__(self)">__init__(self)</A>
<LI><A HREF="#doPrompt(self)">doPrompt(self)</A>
<LI><A HREF="#fileno(self)">fileno(self)</A>
<LI><A HREF="#handleError(self)">handleError(self)</A>
<LI><A HREF="#handleRead(self)">handleRead(self)</A>
<LI><A HREF="#handleWrite(self)">handleWrite(self)</A>
<LI><A HREF="#notifyOnError(self)">notifyOnError(self)</A>
<LI><A HREF="#notifyWhenReadable(self)">notifyWhenReadable(self)</A>
<LI><A HREF="#notifyWhenWritable(self)">notifyWhenWritable(self)</A>
</UL>
<A NAME="__execLine">
<A NAME="__execLine(self,_line)">
<H3>__execLine(self, line)</H3>
<PRE>
   def __execLine(self, line):
</PRE>

<P>Executes a single line, handles execptions and displays the prompt again when
done.  
<A NAME="__execThread">
<A NAME="__execThread(self)">
<H3>__execThread(self)</H3>
<PRE>
   def __execThread(self):
</PRE>

<P>This method watches a queue for input lines, handling their exceptions and
printing the prompt when done executing.  
<A NAME="__init__">
<A NAME="__init__(self)">
<H3>__init__(self)</H3>
<PRE>
   def __init__(self):
</PRE>

<A NAME="doPrompt">
<A NAME="doPrompt(self)">
<H3>doPrompt(self)</H3>
<PRE>
   def doPrompt(self):
</PRE>

<P>Displays a nice "dopy&gt;" prompt indicating that the user can enter data.  
<A NAME="fileno">
<A NAME="fileno(self)">
<H3>fileno(self)</H3>
<PRE>
   def fileno(self):
</PRE>

<P>implements <A HREF="../../dopy/dopy/Reactor.html#fileno">
dopy.dopy.Reactor.fileno()</A> 
<A NAME="handleError">
<A NAME="handleError(self)">
<H3>handleError(self)</H3>
<PRE>
   def handleError(self):
</PRE>

<P>implements <A HREF="../../dopy/dopy/Reactor.html#handleWrite">
dopy.dopy.Reactor.handleWrite()</A> 
<A NAME="handleRead">
<A NAME="handleRead(self)">
<H3>handleRead(self)</H3>
<PRE>
   def handleRead(self):
</PRE>

<P>implements <A HREF="../../dopy/dopy/Reactor.html#handleRead">
dopy.dopy.Reactor.handleRead()</A> 
<A NAME="handleWrite">
<A NAME="handleWrite(self)">
<H3>handleWrite(self)</H3>
<PRE>
   def handleWrite(self):
</PRE>

<P>implements <A HREF="../../dopy/dopy/Reactor.html#handleWrite">
dopy.dopy.Reactor.handleWrite()</A> 
<A NAME="notifyOnError">
<A NAME="notifyOnError(self)">
<H3>notifyOnError(self)</H3>
<PRE>
   def notifyOnError(self):
</PRE>

<P>implements <A HREF="../../dopy/dopy/Reactor.html#notifyOnError">
dopy.dopy.Reactor.notifyOnError()</A> 
<A NAME="notifyWhenReadable">
<A NAME="notifyWhenReadable(self)">
<H3>notifyWhenReadable(self)</H3>
<PRE>
   def notifyWhenReadable(self):
</PRE>

<P>implements <A HREF="../../dopy/dopy/Reactor.html#notifyWhenReadable">
dopy.dopy.Reactor.notifyWhenReadable()</A> 
<A NAME="notifyWhenWritable">
<A NAME="notifyWhenWritable(self)">
<H3>notifyWhenWritable(self)</H3>
<PRE>
   def notifyWhenWritable(self):
</PRE>

<P>implements <A HREF="../../dopy/dopy/Reactor.html#notifyWhenWritable">
dopy.dopy.Reactor.notifyWhenWritable()</A> 
</BODY></HTML>
